package com.ruoyi.vehicles.form;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
public class AddVehiclesForm {
    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 购车年份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购车年份", width = 30, dateFormat = "yyyy-MM-dd")
    private String purchaseYear;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String type;

    /** 座位数 */
    @Excel(name = "座位数")
    private Long seatCount;

    /** 车辆图片 */
    @Excel(name = "车辆图片")
    private MultipartFile file;

    /** 驾驶员 */
    @Excel(name = "驾驶员")
    private String driver;
}
